home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD018c.dsk
/
PAL.80229.SALYER.MAR.83.B.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
3KB
|
78 lines
1 GOTO 700
2 REM UPPER CASE CONVERT SUBROUTINE
3 IF NOT UC THEN SPEED= 150: PRINT A$: SPEED= 255: RETURN
4 FOR I = 1 TO LEN(A$):XC = ASC( MID$ (A$,I,1))
5 XC = XC -32 *(XC >96 AND XC <123)
6 PRINT CHR$(XC);: NEXT I
7 PRINT : RETURN
97 REM ************************
98 :
99 :
100 REM LINES 110 THRU 430 ARE
101 REM THE BUG FIXES TO THE
102 REM TEXT.EDITOR PROGRAM.
103 REM RUN 5000 TO PRODUCE A
104 REM 'EXEC' FILE TO UPDATE
105 REM YOUR COPY OF THE EDITOR
110 IF LEN(A$) +ID > = 38 THEN CALL -198: GOTO 50
160 IF LEFT$(A$,1) = CHR$(9) THEN I$ = ID$ + RIGHT$(A$, LEN(A$) -1) +" ": GOTO 440
170 IF LEFT$(A$,1) = CHR$(14) THEN I$ = RIGHT$(A$, LEN(A$) -1) +" ": GOTO 440
290 MS = INT((38 -TL)/(X -1) +.5): IF MS >2 THEN I$ = W$(1): FOR I = 2 TO X:I$ = I$ +" " +W$(I): NEXT I: GOTO 440
310 SL = 39 -TL -X
430 NEXT I:I$ = I$ +" "
498 :
499 :
500 REM ***********************
501 :
502 :
700 TEXT : HOME : PRINT "DO YOU HAVE A LOWER CASE APPLE? ";: INPUT "";X$
710 IF LEFT$(X$,1) = "N" THEN UC = 1
715 HOME : HTAB 5
720 A$ = " There is a bug in the TEXT.EDITOR": PRINT : PRINT : PRINT : GOSUB 2
730 A$ = "program that I submitted in February.": PRINT : GOSUB 2
740 A$ = "The bug causes lines to run together": PRINT : GOSUB 2
750 A$ = "This is not immediately noticable, but": PRINT : GOSUB 2
760 A$ = "if you write a program that uses": PRINT : GOSUB 2
770 A$ = "a file that has words at the right": PRINT : GOSUB 2
780 A$ = "column, you will see that they will": PRINT : GOSUB 2
790 A$ = "runtogether like that.": PRINT : GOSUB 2
800 GOSUB 1060
810 HOME : VTAB 4
820 A$ = "In this program are the changes to the": GOSUB 2
830 A$ = "editor. To install the changes in your": PRINT : GOSUB 2
840 A$ = "copy, follow these steps:": PRINT : GOSUB 2
850 A$ = " RUN 5000 :REM this will create": PRINT : GOSUB 2
860 A$ = " an 'EXEC' file": GOSUB 2
870 A$ = " LOAD TEXT.EDITOR": PRINT : GOSUB 2
880 A$ = " EXEC EDITOR.CHG": GOSUB 2
890 A$ = " SAVE TEXT.EDITOR": GOSUB 2
900 A$ = "This will insert the changes for you.": PRINT : GOSUB 2
910 A$ = "If you have any problems with this,": PRINT : GOSUB 2
920 GOSUB 1060
930 HOME : VTAB 4
940 A$ = "you can write to me direct, or submit a": GOSUB 2
950 A$ = "SOFT.PALS program. My address is:": PRINT : GOSUB 2
960 A$ = " Dale Salyer": PRINT : GOSUB 2
970 A$ = " 101 E. 88th Ave, Apt P-116": PRINT : GOSUB 2
980 A$ = " Thornton, CO 80229": PRINT : GOSUB 2
990 A$ = " So long for now, and happy editing...": PRINT : PRINT : GOSUB 2
1000 PRINT "PRESS ANY KEY TO RUN MENU";
1010 GET R$: PRINT R$
1020 PRINT : PRINT CHR$(4);"RUN PAL.MENU"
1030 END
1040 FOR X = 1 TO 500: NEXT : RETURN
1045 :
1060 A$ = "PRESS ANY KEY TO CONTINUE"
1065 S$ = "": FOR X = 1 TO 20 - LEN(A$)/2:S$ = S$ +" ": NEXT
1070 A$ = S$ +A$ +S$: IF LEN(A$)/2 < > INT( LEN(A$)/2) THEN A$ = A$ +" "
1075 FOR X = 1 TO 20:PR$ = LEFT$(A$,X) + RIGHT$(A$,X): VTAB 23: HTAB 21 -X: PRINT PR$;: NEXT X: GOSUB 1040
1080 Z = PEEK( -16384): IF Z >127 THEN POKE -16368,0: RETURN
1090 POKE -16368,0: VTAB 23
1100 FOR W = 0 TO 20: VTAB 23: HTAB W +1: PRINT " ";: HTAB 40 -W: PRINT " ";: NEXT W
1110 GOTO 1060
5000 D$ = CHR$(4): PRINT D$"MONICO"
5010 PRINT : POKE 33,33: PRINT D$;"OPEN EDITOR.CHG"
5020 PRINT D$;"WRITE EDITOR.CHG"
5030 LIST 110,430
5040 PRINT D$;"CLOSE EDITOR.CHG"
5050 PRINT D$;"NOMONICO": TEXT : END